<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" href="./Public/bt/css/bootstrap.min.css">
</head>
<body>
<div class="container">
    <div class="alert alert-info" role="alert" style="margin-top: 10px;">编辑文章</div>
    <form class="form-horizontal" action="" method="post">
        <div class="form-group">
            <label for="inputEmail3" class="col-sm-2 control-label">文章标题</label>
            <div class="col-sm-10">
                <input type="text" class="form-control" id="inputEmail3" name="title" value="<?php echo $data['title'] ?>">
            </div>
        </div>
        <div class="form-group">
            <label for="inputEmail3" class="col-sm-2 control-label">作者</label>
            <div class="col-sm-10">
                <input type="text" class="form-control" id="inputEmail3" name="author" value="<?php echo $data['author'] ?>">
            </div>
        </div>
        <div class="form-group">
            <label for="inputEmail3" class="col-sm-2 control-label">文章内容</label>
            <div class="col-sm-10">
                <textarea name="content" class="form-control" cols="30" rows="10"><?php echo $data['content'] ?></textarea>
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-offset-2 col-sm-10">
                <button type="submit" class="btn btn-info btn-block">发布</button>
                <a href="./index.php" class="btn btn-primary btn-block">返回首页</a>
            </div>
        </div>
    </form>
</div>
</body>
</html>